<!-- $Id -->
{include file="pageheader.htm"}

<div class="list-div" style="font-size: 18px; text-align: center; width: 100%; padding: 100px 0;">
 导出Excel中，时间可能较长，请稍等！
</div>


<!--{if $act eq 'order_export'}-->
<div>
<form name="form1" id="form1" method="post">
<!--{foreach from=$filter item=item key=key}-->
<input type="hidden" name="{$key}" id="{$key}" value="{$item}" />
<!--{/foreach}-->

<input type="hidden" name="lists" id="lists" value='{$lists}' />
</form>
</div>



<script language="JavaScript">

window.onload=function(){

    var yes = "{$yes}";
	var targetForm = document.forms[ "form1" ];
	
    //加载初始化数据
    if(yes == '1'){

	  targetForm.action= "export.php?act=order_export";
	  targetForm.submit();
	
	}else{

	 targetForm.action= "export.php?act=export";
	 targetForm.submit();
	
	}
 
}
</script>
<!--{/if}-->

<!--{if $act eq 'refund_goods'}-->
<div>
<form name="form1" id="form1" method="post">
<!--{foreach from=$filter item=item key=key}-->
<input type="hidden" name="{$key}" id="{$key}" value="{$item}" />
<!--{/foreach}-->

<input type="hidden" name="lists" id="lists" value='{$lists}' />
</form>
</div>



<script language="JavaScript">

window.onload=function(){

    var yes = "{$yes}";
	var targetForm = document.forms[ "form1" ];
	
    //加载初始化数据
    if(yes == '1'){

	  targetForm.action= "export.php?act=refund_goods";
	  targetForm.submit();
	
	}else{

	 targetForm.action= "export.php?act=goods";
	 targetForm.submit();
	
	}
 
}
</script>
<!--{/if}-->

<!--{if $act eq 'account_export'}-->
<div>
<form name="form1" id="form1" method="post">
<!--{foreach from=$filter item=item key=key}-->
<input type="hidden" name="{$key}" id="{$key}" value="{$item}" />
<!--{/foreach}-->

<input type="hidden" name="lists" id="lists" value='{$lists}' />
</form>
</div>



<script language="JavaScript">

window.onload=function(){

    var yes = "{$yes}";
	var targetForm = document.forms[ "form1" ];
	
    //加载初始化数据
    if(yes == '1'){

	  targetForm.action= "export.php?act=account_export";
	  targetForm.submit();
	
	}else{

	 targetForm.action= "export.php?act=exporta";
	 targetForm.submit();
	
	}
 
}
</script>
<!--{/if}-->

<!--{if $act eq 'acc_export'}-->
<div>
<form name="form1" id="form1" method="post">
<!--{foreach from=$filter item=item key=key}-->
<input type="hidden" name="{$key}" id="{$key}" value="{$item}" />
<!--{/foreach}-->

<input type="hidden" name="lists" id="lists" value='{$lists}' />
</form>
</div>



<script language="JavaScript">

window.onload=function(){

    var yes = "{$yes}";
	var targetForm = document.forms[ "form1" ];
	
    //加载初始化数据
    if(yes == '1'){

	  targetForm.action= "export.php?act=acc_export";
	  targetForm.submit();
	
	}else{

	 targetForm.action= "export.php?act=exportb";
	 targetForm.submit();
	
	}

}
</script>

<!--{/if}-->


<!--{if $act eq 'point_query'}-->
<div>
<form name="form1" id="form1" method="post">
<!--{foreach from=$filter item=item key=key}-->
<input type="hidden" name="{$key}" id="{$key}" value="{$item}" />
<!--{/foreach}-->

<input type="hidden" name="lists" id="lists" value='{$lists}' />
</form>
</div>



<script language="JavaScript">

window.onload=function(){

    var yes = "{$yes}";
    var types = "{$type}";
	var targetForm = document.forms[ "form1" ];
	
    //加载初始化数据
    if(yes == '1'){

	  targetForm.action= "export.php?act=point_query";
	  targetForm.submit();
	
	}else{

	
		if(types == '1'){
		
			targetForm.action= "export.php?act=export1";
		 
		}else if(types == '2'){
		
			targetForm.action= "export.php?act=export2";
		 
		}else if(types == '3'){
		
			targetForm.action= "export.php?act=export3";
		 
		}
		  
		 targetForm.submit();

	}

}
</script>

<!--{/if}-->
